<!DOCTYPE html>
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="style.css">
		<script type="text/javascript" src="http://code.jquery.com/jquery.min.js"></script>
        <script type="text/javascript" src="../dist/css/ResizeSensor.js"></script>
        <script type="text/javascript" src="../dist/css/theia-sticky-sidebar.js"></script>
        <script type="text/javascript" src="../js/test.js"></script>
		<style>
			.innerWrapper {
				margin: 0 -15px;
			}

			.column {
				width: 25%;
				padding: 0 15px;
				float: left;
			}

            button {
                margin: 0 0 30px 0;
            }
		</style>
	</head>
	<body>
		<div class="header">
			<h1>Theia Sticky Sidebar - 4 columns example</h1>

            <button onclick="this.disabled = true; testTheiaStickySidebars();">Run the self-assessment test</button> (May take a while. Be sure to not scroll or resize the window.)
		</div>

		<div class="wrapper">
			<div class="innerWrapper">
				<div class="column">
					<div class="theiaStickySidebar">
						<div class="box">
							<h2>Column 1</h2>

							<p>
								Gloriatur neglegentur ea mel. Eu pro option moderatius, elitr nonumy molestiae
								ad nam. Quis labore eos ut, his ad sale officiis efficiendi. Usu ex petentium
								theophrastus, an his prima atqui. Eu quando vituperata vel. Ad eos modus
								aperiam omittantur, ludus scribentur et qui.
							</p>

							<p>
								<div class="image" style="height: 1200px; background-image: url('images/photo-1429593886847-3cc52983f919.jpg');"></div>
							</p>

							<p>
								Est te nonumes verterem urbanitas, ei quo utinam constituto. Nihil tation vis ad,
								corrumpit incorrupte mea cu. Mei te apeirian intellegat, wisi meliore interpretaris
								et usu. Id graece probatus contentiones nam, natum legimus an quo.
							</p>
						</div>
					</div>
				</div>

				<div class="column">
					<div class="theiaStickySidebar">
						<div class="box">
							<h2>Column 2</h2>

							<p>
								Decore aliquando has in, mel exerci inermis an. Phaedrum consequat cum ex, harum
								legere ad qui. Ea quo movet omnium, graecis vituperatoribus sed te. Cu est omnis
								deseruisse referrentur.
							</p>

							<p>
								<div class="image" style="height: 1800px; background-image: url('images/photo-1465328610639-388f315eb31b.jpg');"></div>
							</p>

							<p>
								Lorem ipsum dolor sit amet, ei vix dicit possim. Pro principes urbanitas ei, his no
								omittam inimicus, qui apeirian honestatis philosophia ei. Augue quaerendum
								scriptorem vix ad, duo in mucius facilisis. Audire noluisse singulis mei ne. Esse
								aperiri facilisi pro an, fabellas cotidieque eu vis. Est in senserit accusamus
								inciderint, consetetur voluptatibus pro et, te qui verear assentior.
							</p>
						</div>
					</div>
				</div>

				<div class="column">
					<div class="theiaStickySidebar">
						<div class="box">
							<h2>Column 3</h2>

							<p>
								Has te iudico gloriatur. Vix et tritani interesset. Te paulo perpetua his, eu
								accusata evertitur philosophia vix, ei minimum inimicus has. Pro an hinc constituto
								disputando, luptatum laboramus eu quo, ad fugit saepe lobortis sea. Vel possit
								pertinax no, quando graeco pro in, id quo timeam erroribus.
							</p>

							<p>
								<div class="image" style="height: 600px; background-image: url('images/photo-1461016951828-c09537329b3a.jpg');"></div>
							</p>

							<p>
								Est te nonumes verterem urbanitas, ei quo utinam constituto. Nihil tation vis ad,
								corrumpit incorrupte mea cu. Mei te apeirian intellegat, wisi meliore interpretaris
								et usu. Id graece probatus contentiones nam, natum legimus an quo.
							</p>
						</div>
					</div>
				</div>

				<div class="column">
					<div class="theiaStickySidebar">
						<div class="box">
							<h2>Column 4</h2>

							<p>
								Vim ea euripidis intellegebat, accumsan adolescens quaerendum qui ut, ei unum viris
								vim. Mei eu mazim omittam, sint oblique recteque id eum.
							</p>

							<p>
								<div class="image" style="height: 100px; background-image: url('images/photo-1453165549043-d43505de900d.jpg');"></div>
							</p>
						</div>
					</div>
				</div>
			</div>
		</div>

		<div class="footer">
			<p>
				<img src="images/photo-1461016951828-c09537329b3a.jpg">
			</p>
		</div>

		<script type="text/javascript">
			$(document).ready(function() {
				$('.column')
					.theiaStickySidebar({
						additionalMarginTop: 30
					});
			});
		</script>
	</body>
</html>
